Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
Home | Book List | Contents | Index | Master Index | Feedback

# Startup Trigger Method

Applies To

OBinder

OBound

Description

Called when the object binding starts.

OBinder: This trigger method is called at the time the first bound object is added to the binder. It is guaranteed only be called only once for the OBinder instance.

OBound: This trigger method is called immediately after a bound object is bound to a binder. If the binder has not been opened, then GetValue cannot be called by this method.

Usage

virtual oresult Startup(void)

Remarks

For an OBinder object this method will be called the first time that a bound object is successfully added to the OBinder. It will only be called once.

For an OBound this method will be called when the object is bound to an OBinder. Note that if the OBinder object has not been opened yet (usually the case) then GetValue cannot be called by this method.

The default OBound Startup trigger does nothing.

The default OBinder Startup trigger does nothing.